
\documentclass[a4paper,11pt,twoside]{book}
\usepackage{qpedia}
\usepackage{makeidx,shortvrb,latexsym}
\usepackage{CJKutf8}
\usepackage{ifpdf}
\ifpdf
\usepackage{thumbpdf}
\pdfcompresslevel=9
\else
\usepackage{color}
\fi
%\linespread{1.3}
\bibliographystyle{IEEEtran}
%pdf attribute
\hypersetup{
pdftitle={qpedia},
pdfauthor={sunqi},
pdfsubject={Record of my Journey}
}
\makeindex
\begin{document}
\begin{CJK}{UTF8}{gbsn}
\frontmatter
\include{title-q}
\include{ack}
\include{preface}
\tableofcontents
\listoffigures
\listoftables
\mainmatter
\include{ptlife}
	\include{ch1}
	\include{ch2}
	\include{ch3}
\include{ptcomm}
	\include{ch4}
	\include{ch5}
\include{ptlatex}
	\include{ch6}
\include{ptlinux}
	\include{ch7}
	\include{ch8}
	\include{ch9}

\include{afterword}
\appendix
\include{appendix}
\backmatter
\include{biblio1}
\refstepcounter{chapter}
\addcontentsline{toc}{chapter}{Index}
\printindex
\end{CJK}
\end{document} 
